<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts: fatfs.sup/fatfs_sup.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">ESP8266ILI9341DisplayProject</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_b666832e27e3be33c87e99ef6d60e3b7.html">fatfs.sup</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">fatfs_sup.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="fatfs__sup_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#ifndef _FATFS_SUP_H_</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#define _FATFS_SUP_H_</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#if _MULTI_PARTITION != 0</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> PARTITION Drives[] =</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;{</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    {</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;        0,0</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    }</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;    ,</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    {</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;        0,1</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    }</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;};</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="keyword">extern</span> <a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a>   <a class="code" href="fatfs__sup_8h.html#a1e9c5ddcfdf89c9a42c96ee1d2196876">AccSize</a>;                           <span class="comment">// Total file space used</span></div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="keyword">extern</span> <a class="code" href="integer_8h.html#a197942eefa7db30960ae396d68339b97">WORD</a>    <a class="code" href="fatfs__sup_8h.html#a8886578bc67fc71837328a1ee237d10c">AccFiles</a>, <a class="code" href="fatfs__sup_8h.html#a4fb5ebb5ee82d1ddf3fdcf88329dd5d3">AccDirs</a>;                 <span class="comment">// Total files and directories</span></div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="keyword">extern</span> <a class="code" href="structFATFS.html">FATFS</a>   <a class="code" href="fatfs__sup_8h.html#aae427cc909a4b5993032934d85fd8c31">Fatfs</a>[<a class="code" href="ffconf_8h.html#a366da9a40c8ceb3103a6b72ca02b9969">_VOLUMES</a>];                   <span class="comment">// File system object for each logical drive</span></div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="comment">/* fatfs_sup.c */</span></div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <a class="code" href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> <a class="code" href="fatfs__sup_8h.html#ae7b9417320aaaa1c1dfb229cad6669d8">tm_to_fat</a> ( <a class="code" href="structtm.html">tm_t</a> *t );</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <a class="code" href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a> <a class="code" href="fatfs__sup_8h.html#ae0f1746ad69d0d4b90cba250c6774ca8">get_fattime</a> ( <span class="keywordtype">void</span> );</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="fatfs__sup_8h.html#ab3509aecf1844c84f1797e5b567d531c">put_rc</a> ( <span class="keywordtype">int</span> rc );</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="fatfs__sup_8h.html#a2bfd82a70117cdb8941b6b0a2c069dbd">fatfs_scan_files</a> ( <span class="keywordtype">char</span> *path );</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">char</span> *<a class="code" href="fatfs__sup_8h.html#ae9c5ed10edd2df490945033c4ddfbeab">fatfs_fstype</a> ( <span class="keywordtype">int</span> type );</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="fatfs__sup_8h.html#ad7d2063fab39190a7288bfa7cb647b46">fatfs_status</a> ( <span class="keywordtype">char</span> *ptr );</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<a class="code" href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="fatfs__sup_8h.html#a11c6644c2b989d1ac2492b30b80e4ead">fatfs_filinfo_list</a> ( <a class="code" href="structFILINFO.html">FILINFO</a> *<a class="code" href="network_8c.html#a1202cd63c360958e6272f9a20fa90f8b">info</a> );</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="integer_8h_html_a197942eefa7db30960ae396d68339b97"><div class="ttname"><a href="integer_8h.html#a197942eefa7db30960ae396d68339b97">WORD</a></div><div class="ttdeci">unsigned short WORD</div><div class="ttdef"><b>Definition:</b> <a href="integer_8h_source.html#l00026">integer.h:26</a></div></div>
<div class="ttc" id="fatfs__sup_8h_html_a4fb5ebb5ee82d1ddf3fdcf88329dd5d3"><div class="ttname"><a href="fatfs__sup_8h.html#a4fb5ebb5ee82d1ddf3fdcf88329dd5d3">AccDirs</a></div><div class="ttdeci">WORD AccDirs</div><div class="ttdef"><b>Definition:</b> <a href="fatfs__sup_8c_source.html#l00164">fatfs_sup.c:164</a></div></div>
<div class="ttc" id="fatfs__sup_8h_html_aae427cc909a4b5993032934d85fd8c31"><div class="ttname"><a href="fatfs__sup_8h.html#aae427cc909a4b5993032934d85fd8c31">Fatfs</a></div><div class="ttdeci">FATFS Fatfs[_VOLUMES]</div><div class="ttdoc">FatFs Drive Volumes. </div><div class="ttdef"><b>Definition:</b> <a href="fatfs__sup_8c_source.html#l00043">fatfs_sup.c:43</a></div></div>
<div class="ttc" id="structFILINFO_html"><div class="ttname"><a href="structFILINFO.html">FILINFO</a></div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00203">ff.h:203</a></div></div>
<div class="ttc" id="fatfs__sup_8h_html_ae0f1746ad69d0d4b90cba250c6774ca8"><div class="ttname"><a href="fatfs__sup_8h.html#ae0f1746ad69d0d4b90cba250c6774ca8">get_fattime</a></div><div class="ttdeci">MEMSPACE DWORD get_fattime(void)</div><div class="ttdoc">Read time and convert to FAT32 time. </div><div class="ttdef"><b>Definition:</b> <a href="fatfs__sup_8c_source.html#l00130">fatfs_sup.c:130</a></div></div>
<div class="ttc" id="structFATFS_html"><div class="ttname"><a href="structFATFS.html">FATFS</a></div><div class="ttdef"><b>Definition:</b> <a href="ff_8h_source.html#l00092">ff.h:92</a></div></div>
<div class="ttc" id="fatfs__sup_8h_html_ae9c5ed10edd2df490945033c4ddfbeab"><div class="ttname"><a href="fatfs__sup_8h.html#ae9c5ed10edd2df490945033c4ddfbeab">fatfs_fstype</a></div><div class="ttdeci">MEMSPACE char * fatfs_fstype(int type)</div><div class="ttdoc">return a string with the file system type </div><div class="ttdef"><b>Definition:</b> <a href="fatfs__sup_8c_source.html#l00232">fatfs_sup.c:232</a></div></div>
<div class="ttc" id="network_8c_html_a1202cd63c360958e6272f9a20fa90f8b"><div class="ttname"><a href="network_8c.html#a1202cd63c360958e6272f9a20fa90f8b">info</a></div><div class="ttdeci">static struct ip_info info</div><div class="ttdef"><b>Definition:</b> <a href="network_8c_source.html#l00055">network.c:55</a></div></div>
<div class="ttc" id="send_8c_html_a435d1572bf3f880d55459d9805097f62"><div class="ttname"><a href="send_8c.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a></div><div class="ttdeci">unsigned int uint32_t</div><div class="ttdef"><b>Definition:</b> <a href="send_8c_source.html#l00019">send.c:19</a></div></div>
<div class="ttc" id="ffconf_8h_html_a366da9a40c8ceb3103a6b72ca02b9969"><div class="ttname"><a href="ffconf_8h.html#a366da9a40c8ceb3103a6b72ca02b9969">_VOLUMES</a></div><div class="ttdeci">#define _VOLUMES</div><div class="ttdef"><b>Definition:</b> <a href="ffconf_8h_source.html#l00161">ffconf.h:161</a></div></div>
<div class="ttc" id="fatfs__sup_8h_html_a8886578bc67fc71837328a1ee237d10c"><div class="ttname"><a href="fatfs__sup_8h.html#a8886578bc67fc71837328a1ee237d10c">AccFiles</a></div><div class="ttdeci">WORD AccFiles</div><div class="ttdoc">Total number or Files and Directories. </div><div class="ttdef"><b>Definition:</b> <a href="fatfs__sup_8c_source.html#l00164">fatfs_sup.c:164</a></div></div>
<div class="ttc" id="fatfs__sup_8h_html_ab3509aecf1844c84f1797e5b567d531c"><div class="ttname"><a href="fatfs__sup_8h.html#ab3509aecf1844c84f1797e5b567d531c">put_rc</a></div><div class="ttdeci">MEMSPACE void put_rc(int rc)</div><div class="ttdoc">display FatFs return code as ascii string </div><div class="ttdef"><b>Definition:</b> <a href="fatfs__sup_8c_source.html#l00145">fatfs_sup.c:145</a></div></div>
<div class="ttc" id="integer_8h_html_ad342ac907eb044443153a22f964bf0af"><div class="ttname"><a href="integer_8h.html#ad342ac907eb044443153a22f964bf0af">DWORD</a></div><div class="ttdeci">unsigned long DWORD</div><div class="ttdef"><b>Definition:</b> <a href="integer_8h_source.html#l00031">integer.h:31</a></div></div>
<div class="ttc" id="fatfs__sup_8h_html_a1e9c5ddcfdf89c9a42c96ee1d2196876"><div class="ttname"><a href="fatfs__sup_8h.html#a1e9c5ddcfdf89c9a42c96ee1d2196876">AccSize</a></div><div class="ttdeci">DWORD AccSize</div><div class="ttdoc">Total file space used. </div><div class="ttdef"><b>Definition:</b> <a href="fatfs__sup_8c_source.html#l00161">fatfs_sup.c:161</a></div></div>
<div class="ttc" id="structtm_html"><div class="ttname"><a href="structtm.html">tm</a></div><div class="ttdoc">POSIX struct tm. </div><div class="ttdef"><b>Definition:</b> <a href="time_8h_source.html#l00041">time.h:41</a></div></div>
<div class="ttc" id="cpu_8h_html_ad0fe97585b8891f5e4f2b9a6426330a4"><div class="ttname"><a href="cpu_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a></div><div class="ttdeci">#define MEMSPACE</div><div class="ttdef"><b>Definition:</b> <a href="cpu_8h_source.html#l00025">cpu.h:25</a></div></div>
<div class="ttc" id="fatfs__sup_8h_html_a11c6644c2b989d1ac2492b30b80e4ead"><div class="ttname"><a href="fatfs__sup_8h.html#a11c6644c2b989d1ac2492b30b80e4ead">fatfs_filinfo_list</a></div><div class="ttdeci">MEMSPACE void fatfs_filinfo_list(FILINFO *info)</div><div class="ttdoc">Display FILINFO structure in a readable format. </div><div class="ttdef"><b>Definition:</b> <a href="fatfs__sup_8c_source.html#l00335">fatfs_sup.c:335</a></div></div>
<div class="ttc" id="fatfs__sup_8h_html_a2bfd82a70117cdb8941b6b0a2c069dbd"><div class="ttname"><a href="fatfs__sup_8h.html#a2bfd82a70117cdb8941b6b0a2c069dbd">fatfs_scan_files</a></div><div class="ttdeci">MEMSPACE int fatfs_scan_files(char *path)</div><div class="ttdoc">Use were FILINFO structure can be share in many functions See: fatfs_alloc_filinfo(), fatfs_scan_files() and fatfs_ls() </div><div class="ttdef"><b>Definition:</b> <a href="fatfs__sup_8c_source.html#l00194">fatfs_sup.c:194</a></div></div>
<div class="ttc" id="fatfs__sup_8h_html_ad7d2063fab39190a7288bfa7cb647b46"><div class="ttname"><a href="fatfs__sup_8h.html#ad7d2063fab39190a7288bfa7cb647b46">fatfs_status</a></div><div class="ttdeci">MEMSPACE void fatfs_status(char *ptr)</div><div class="ttdoc">Compute space used, number of directories and files contained used by a drive. </div><div class="ttdef"><b>Definition:</b> <a href="fatfs__sup_8c_source.html#l00268">fatfs_sup.c:268</a></div></div>
<div class="ttc" id="fatfs__sup_8h_html_ae7b9417320aaaa1c1dfb229cad6669d8"><div class="ttname"><a href="fatfs__sup_8h.html#ae7b9417320aaaa1c1dfb229cad6669d8">tm_to_fat</a></div><div class="ttdeci">MEMSPACE uint32_t tm_to_fat(tm_t *t)</div><div class="ttdoc">FAT time structer reference. </div><div class="ttdef"><b>Definition:</b> <a href="fatfs__sup_8c_source.html#l00113">fatfs_sup.c:113</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Jan 31 2018 21:22:16 for ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
